FROM python:3-slim

RUN pip install snmpsim -i https://mirrors.aliyun.com/pypi/simple/

RUN adduser --system snmpsim

ADD data /usr/local/snmpsim/data

EXPOSE 161/udp

CMD ["tail", "-f", "/dev/null"]
